package com.dfd.shiro.service;

import com.dfd.shiro.model.Permission;

import java.util.List;

public interface PermissionService{


    int deleteByPrimaryKey(Integer permissionId);

    int insert(Permission record);

    int insertSelective(Permission record);

    Permission selectByPrimaryKey(Integer permissionId);

    int updateByPrimaryKeySelective(Permission record);

    int updateByPrimaryKey(Permission record);

    List<String> selectPermissionByUserId(Integer userId);
}
